ImagXpress 13 for .NET - User Guide > How To > Process an Image > Undo a Processing Action |
You can check Processor.ImageWasModified property at any time to determine whether the image was modified by the last processing action. (If an error occurs during processing, the processing action is discontinued and the image is not modified.)
The Undo capability enables you to undo the action of a processing method. To use the Undo capability, make sure ImageX.UndoEnabled property is set to True. This enables the undo feature for a specific image, prior to performing image processing.
When ImageX.UndoEnabled is True, additional memory is required to store the undo image. If Undo is not needed, set ImageX.UndoEnabled to False to reduce memory usage. |
To undo the image processing action, call the ImageX.Undo method. The current image is replaced with the Undo image, restoring the image to its original state.
Only image processing actions can be undone. Changes to ICM, loading and saving cannot be undone. |